package com.trainoo.alibaba.nacos.service;

import com.trainoo.alibaba.nacos.api.IHelloWorldService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.Service;

/**
 * @Auther: zt
 * @Date: 2019/12/13 16:00
 * @Description:
 */
@Slf4j
@Service
public class HelloWorldServiceImpl implements IHelloWorldService {

    @Override
    public String hello(String name) {
        log.info("~~~");
        return "Hello, " + name + " ~~";
    }
}
